package com.qyhl.school.school.vlog.play;


import com.qyhl.webtv.commonlib.entity.school.SchoolVlogBean;

import java.util.List;

public interface SchoolVlogPlayContract {
    interface SchoolVlogPlayView {
        void setDetail(SchoolVlogBean bean);

        void setError(String msg);

        void setPraiseSuccess(boolean isAdd, String msg);

        void setPraiseError(String msg);

        void setData(List<SchoolVlogBean> beanList);

        void setDataError(String msg);

        void shareSuccess();
    }

    interface SchoolVlogPlayPresenter {
        void getDetail(int vlogId, String username);

        void doPraise(int vlogId, String username);

        void cancelPraise(int vlogId, String username);

        void doShare(int vlogId);

        void setDetail(SchoolVlogBean bean);

        void setError(String msg);

        void setPraiseSuccess(boolean isAdd, String msg);

        void setPraiseError(String msg);

        void getData(int tagId, int lastId, int lastBoost);

        void setData(List<SchoolVlogBean> beanList);

        void setDataError(String msg);

        void shareSuccess();
    }

    interface SchoolVlogPlayModel {
        void getDetail(int vlogId, String username);

        void doPraise(int vlogId, String username);

        void cancelPraise(int vlogId, String username);

        void getData(int tagId, int lastId, int lastBoost);

        void doShare(int vlogId);
    }
}
